package com.dq.Week1.day02;

import java.util.Scanner;

public class IfDemo {
    public static void main(String[] args) {
        String sex = "";
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入性别：");
        sex = scanner.next();
        if(sex.equals("女"))
        {
            System.out.println("3月7号可以放假");
        }else {
            System.out.println("不能放假");
        }

    }
}
